package com.qf.mybatisplus.aspect.druid;

import com.alibaba.druid.filter.stat.StatFilter;

public class MyStatFilter extends StatFilter {

    public String mergeSql(String sql, String dbType) {
        if ("sqlserver".equals(dbType)) {
            //sql server 报错处理，去除监控 ping
            return sql;
        }else {
            return super.mergeSql(sql,dbType);
        }
    }
}
